//
//  YXTextureFormatConverter.h
//  YXVideoKit
//
//  Created by 龙翔 on 2018/3/7.
//  Copyright © 2018年 Makarov. All rights reserved.
//

#import <AVFoundation/AVFoundation.h>

@interface YXTextureFormatConverter : NSObject

@property (nonatomic, assign) CGFloat upSampleScale;

- (void)ConvertNV12_y:(GLuint)y uv:(GLuint)uv size:(CGSize)size;
- (void)ConvertYUV420_y:(GLuint)y u:(GLuint)u v:(GLuint)v size:(CGSize)size;

- (void)BindAndActiveConvertedTextureAtIndex:(GLuint)index;

@end
